cmake_minimum_required(VERSION 3.10)

#引入stbimage
SET(STBIMAGE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/main/cpp/lib/stb)
INCLUDE_DIRECTORIES(${STBIMAGE_DIR}/include)

add_library(OpenGLRender SHARED src/main/cpp/OpenGLRender.cpp
        src/main/cpp/GLUtil.cpp
        src/main/cpp/Triangle.cpp
        src/main/cpp/Texture.cpp
        )

target_link_libraries(
        OpenGLRender
        GLESv3
        log
        android
)